package com.${sysEname}.plugins;
import com.apache.api.vo.ParamsVo;
import com.apache.ius.plugin.CustomMethodPlugin;
import java.util.Map;
import org.apache.log4j.Logger;


/**
 * 创建的测试插件
 * @Author IUS platform administrators create generation
 * @Date ${.now}
 */
public class TestPluginImpl implements CustomMethodPlugin {
	private Logger log = Logger.getLogger(getClass());

	@Override
	public Object beforeInvoke(Map<String, Object> param) {
		log.info("start->> 执行插件事前方法....");

		return null;
	}

	@Override
	public Object doInvoke(Map<String, Object> param) {
		log.info("start->> 执行插件方法....");

		return null;
	}

	@Override
	public Object afterInvoke(Map<String, Object> param) {
		log.info("start->> 执行插件事后方法....");

		return null;
	}

	/**
	 * 规则校验统一入口
	 * @param paramsVo
	 */
	public void run(ParamsVo paramsVo) {
		beforeInvoke(paramsVo.getParams());
	}


}
